<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
  <head>
 <title>hartist 艺术家管理表</title>    
	<meta http-equiv="pragma" content="艺博客，装点生活">
	<meta http-equiv="cache-control" content="艺博客为书画爱好者提供服务平台">
	<link href="manage/css/table.css" rel="stylesheet" type="text/css" />
	<link rel="shortcut icon" href="${pageContext.request.contextPath}/favicon.ico" type="text/css" />
	<style>
	  .tt{
	     margin: 0 auto;
	     border-collapse: collapse;
	     width: 90%;
	  }
      .tt tr th, .tt tr td{
           border: 2px solid #f0f0f0;
           text-align: center;
           padding: 3px;
           margin: 5px;
           font: 14px/25px "微软雅黑";
      
      }
      .tt tr:nth-child(odd){
          background-color: #fbfbfb;
          
      }
	  .tt tr:nth-child(even){
          background-color: #fff;
      }
      
     .tt tr:first-child{
        background-color: #E5E5E5;
     }
      
      .tt tr:not(:first-child):hover {
	    background-color: #FFEC8B;
      } 
      
	</style>

	
</head>
<body>
  <div class="lj">
    <h2 style="text-align:center;padding-top:20px;">艺术家管理</h2>
    <div class="clear" style="width:100%;">
        <div class="left">
          <table class="tt">
     
           <tr>
              <th style="width: 50px">编号</th>
              <th style="width: 100px">毕业美院分类</th>
              <th style="width: 100px">功能操作</th>
           </tr>
           <c:forEach items="${listCollege }" var="i">
           <tr> 
             <td style="width: 150px">${i.id}</td>
             <td style="width: 150px">${i.s_name}</td>
             <td>
              <!--  <a href="##" ><span class="bigalt">更改</span></a> -->
               <a href="hartistype?deleteID=${i.id}" ><span class="bigalt">删除</span></a>
             </td>
           </tr>       
             </c:forEach>
           <tr>
             <td colspan="100">
               <div>
                 <form action="/admin/hartistype" method="post">
                    <input type="text"  name="add" class="inpo"  placeholder="输入添加">
                    <input type="submit"  class="bigadd" value="添加">
                   </form>
                </div>
             </td>
             
           </tr>
        
       </table> 
          </div>
    </div>
</div>
<br>
<br>
  <div class="lj">
      <h2 style="text-align:center;padding-top:20px;">艺术家列表显示</h2>
      <div class="clear" style="width:100%;">
          <div class="left">
              <table class="tt">

                  <tr>
                      <th style="width: 50px">编号</th>
                      <th style="width: 100px">毕业美院分类</th>
                      <th style="width: 100px">功能操作</th>
                  </tr>
                  <c:forEach items="${listCollege }" var="i">
                      <tr>
                          <td style="width: 150px">${i.id}</td>
                          <td style="width: 150px">${i.s_name}</td>
                          <td>
                              <!--  <a href="##" ><span class="bigalt">更改</span></a> -->
                              <a href="hartistype?deleteID=${i.id}" ><span class="bigalt">删除</span></a>
                          </td>
                      </tr>
                  </c:forEach>
                  <tr>
                      <td colspan="100">
                          <div>
                              <form action="/admin/hartistype" method="post">
                                  <input type="text"  name="add" class="inpo"  placeholder="输入添加">
                                  <input type="submit"  class="bigadd" value="添加">
                              </form>
                          </div>
                      </td>

                  </tr>

              </table>
          </div>
      </div>
  </div>


</body>
</html>